﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Profile;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_Modules_Account_AddAccount : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
    {
        ProfileCommon userProfile = Profile.GetProfile(CreateUserWizard1.UserName);
        TextBox txtFullName = (TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("txtFullName");
        userProfile.FullName = txtFullName.Text;
        userProfile.Save();
    }
}